const requireDirectory = require("require-directory");

const curd = requireDirectory(module, { recurse: false });
const routesArr = Object.entries(curd)
routesArr.model = 'visiting'
module.routes = routesArr
module.exports = curd;
